#pragma once
#include "../txr_algo_dlm_cls/txr_algo_dlm_cls_impl.h"

# if defined(TXR_ALGO_DLM_CLS_V1_LIB)
#  define TXR_ALGO_DLM_CLS_V1_EXPORT Q_DECL_EXPORT
# else
#  define TXR_ALGO_DLM_CLS_V1_EXPORT Q_DECL_IMPORT
# endif

namespace txr_algo_dlm_cls
{
	class DlmClsV1;
	//====================================

	class TXR_ALGO_DLM_CLS_V1_EXPORT TxrAlgoDlmClsV1 : public TxrAlgoDlmClsImpl
	{
	public:
		TxrAlgoDlmClsV1();
		~TxrAlgoDlmClsV1();

		tk_bool Load(st_dlm_cfg & cfg);
		void Release();
		tk_int32 BatchSize();

		void Detect(st_detect_unit * p_unit, tk_int32 size);
	private:
		DlmClsV1 * m_p_detect;
	};

}//namespace txr_algo_cls